﻿@model vnMcdonald.Models.Category

                @if ((int)Model.IsActive == 1)
                {
                    @Ajax.ActionLink("Mở", "Update_Status_Categories", new { id = Model.CategoryId }, new AjaxOptions { InsertionMode = InsertionMode.Replace, UpdateTargetId = "row-" + string.Format("{0}", Model.CategoryId) }, new {@class ="enable" })
                }
                else {
                    @Ajax.ActionLink("Đóng", "Update_Status_Categories", new { id = Model.CategoryId }, new AjaxOptions { InsertionMode = InsertionMode.Replace, UpdateTargetId = "row-" + string.Format("{0}", Model.CategoryId) }, new {@class ="disable" })
                }